import java.util.Date;

public class EventFactory {
	
	private static PatientBase patient;
	private static Nurse nurse;
	private static Doctor doctor;
	
	public static EventBase create(EventType type, PatientBase patient) {
	
		
		switch(type) {
		
		
			case StartTriagePatientEvent:
				return new StartTriagePatientEvent(1, patient);
			case StartRoomBedAssignmentEvent:
				return new StartRoomBedAssignmentEvent(2, patient);
			case StartBloodworkEvent:
				return new StartBloodworkEvent(3, patient, nurse);
			case StartUAEvent:
				return new StartUAEvent(4, patient, nurse);
			case StartIVEvent:
				return new StartIVEvent(5, patient, nurse);
			case StartXRayEvent:
				return new StartXRayEvent(6, patient, nurse);
			case StartFinalMDAssessEvent:
				return new StartFinalMDAssessEvent(7, patient, doctor);
				
		}
		System.out.println("Event Not Found");
		return null;			
	}
}
